#+TITLE: Highlight current line
#+AUTHOR: Zelphir Kaltstahl
#+STARTUP: content
#+STARTUP: indent
#+STARTUP: align
#+STARTUP: inlineimages
#+STARTUP: hideblocks
#+STARTUP: entitiesplain
#+STARTUP: nologdone
#+STARTUP: nologreschedule
#+STARTUP: nologredeadline
#+STARTUP: nologrefile
#+TODO: TODO INPROGRESS | DONE CANCELLED
#+DATE: [2023-01-31 Di]
#+LANGUAGE: English
#+PRIORITIES: A E E
#+KEYWORDS: current-line highlight config face mode

* Example configuration

#+begin_src eshell
(add-hook 'org-mode-hook
          (function
           (lambda ()
             ;; positive number or nil -> active
             ;; negative number -> inactive
             (hl-line-mode 1)
             (set-face-background hl-line-face "gray13"))))
#+end_src
